package com.acme.bankapp.domain.bank;

import com.acme.exceptions.*;

public interface Account {
  void deposit(double x) throws IllegalArgumentException;
  void withdraw(double x) throws IllegalArgumentException, NotEnoughFundsException;
  double getBalance();
  double maximumAmountToWithdraw();
}
